<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@page import="java.util.Calendar"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="ae.pcfc.etks.online.itworx.ehs.web.util.UtilCommon" %>

<%
	String type = (String) request.getParameter("type");
	
	SimpleDateFormat df = new SimpleDateFormat("dd MMM yyyy");
	String currentDate = df.format(Calendar.getInstance().getTime());
%>

<div class="t_logo-area">
	<img class="t_logo" src="resources/images/logo.png" alt="" /> <img
		class="t_logo-txt" src="resources/images/logo-name.png" alt="" />
</div>
<div class="t_welcome-user-area">
	<div class="t_welcome-txt">
		<spring:message code="label.header.welcome" />
		<span class="t_welcome-blue-txt"><sec:authentication property="name"/></span>
	</div>
	<div class="t_date"><%=currentDate%></div>
</div>
<% String adminCtx = UtilCommon.getGeneralMapValue("adminContextPath"); %>
<div id="menu">
	<div class="t_welcome-txt">
		<ul class="ulHorizontal ulbreadcrumb">
			<li><a href="/<%=adminCtx%>"><span
					class="t_welcome-blue-txt"><spring:message code="label.menu.home" /></span> </a>
			</li>
		</ul>
	</div>
	<ul class="quickoptions">
		<li><a href="<c:url value="/logout.jsp"/>"><spring:message code="label.header.logout" /><img
			class="t_links-icon" src="resources/images/log_out.png" alt="" /></a></li>
	</ul>
	<div class="clear"></div>
</div>
<!--Top Close-->